﻿using BPMS.IBusiness;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BPMS.Business
{
    /// <summary>
    /// 基仓储类，其他业务访问类从这个类继承
    /// <author>
    ///		<name>shecixiong</name>
    ///		<date>2013.12.04</date>
    /// </author>
    /// </summary>
    public class BaseFactory : IBaseFactory
    {
        /// <summary>
        /// 创建文件
        /// </summary>
        /// <returns></returns>
        public virtual BASE_FileIBLL CreateFile()
        {
            return new BASE_FileBLL();
        }
        /// <summary>
        /// 创建动态接口配置
        /// </summary>
        /// <returns></returns>
        public virtual BASE_InterfaceManageIBLL CreateInterfaceManage()
        {
            return new BASE_InterfaceManageBLL();
        }
        /// <summary>
        /// 创建新闻
        /// </summary>
        /// <returns></returns>
        public virtual BASE_NewsIBLL CreateNews()
        {
            return new BASE_NewsBLL();
        }
        /// <summary>
        /// 创建附加属性
        /// </summary>
        /// <returns></returns>
        public virtual BPMS_AppendPropertyIBLL CreateAppendProperty()
        {
            return new BPMS_AppendPropertyBLL();
        }
        /// <summary>
        /// 创建操作按钮
        /// </summary>
        /// <returns></returns>
        public virtual BPMS_ButtonIBLL CreateButton()
        {
            return new BPMS_ButtonBLL();
        }
        /// <summary>
        /// 创建操作数据库
        /// </summary>
        /// <returns></returns>
        public virtual BPMS_DataBaseIBLL CreateDataBase()
        {
            return new BPMS_DataBaseBLL();
        }
        /// <summary>
        /// 创建数据权限存储
        /// </summary>
        /// <returns></returns>
        public virtual BPMS_DataPermissionIBLL CreateDataPermission()
        {
            return new BPMS_DataPermissionBLL();
        }
        /// <summary>
        /// 创建职员
        /// </summary>
        /// <returns></returns>
        public virtual BPMS_PersonIBLL CreateEmployee()
        {
            return new BPMS_PersonBLL();
        }
        /// <summary>
        /// 创建系统接口访问
        /// </summary>
        /// <returns></returns>
        public virtual BPMS_InterfaceAccessIBLL CreateInterfaceAccess()
        {
            return new BPMS_InterfaceAccessBLL();
        }
        /// <summary>
        /// 创建IP黑名单
        /// </summary>
        /// <returns></returns>
        public virtual BPMS_IPBlacklistIBLL CreateIPBlacklist()
        {
            return new BPMS_IPBlacklistBLL();
        }
        /// <summary>
        /// 创建数据字典明细
        /// </summary>
        /// <returns></returns>
        public virtual BPMS_ItemDetailsIBLL CreateItemDetails()
        {
            return new BPMS_ItemDetailsBLL();
        }
        /// <summary>
        /// 创建数据字典主表
        /// </summary>
        /// <returns></returns>
        public virtual BPMS_ItemsIBLL CreateItems()
        {
            return new BPMS_ItemsBLL();
        }
        /// <summary>
        /// 创建组织机构、部门、工作组
        /// </summary>
        /// <returns></returns>
        public virtual BPMS_OrganizationIBLL CreateOrganization()
        {
            return new BPMS_OrganizationBLL();
        }
        /// <summary>
        /// 创建用户模块权限模块，角色模块权限，用户按钮权限，角色按钮权限，用户数据权限，角色数据权限
        /// </summary>
        /// <returns></returns>
        public virtual BPMS_PermissionIBLL CreatePermission()
        {
            return new BPMS_PermissionBLL();
        }
        /// <summary>
        /// 创建系统角色菜单关系
        /// </summary>
        /// <returns></returns>
        public virtual BPMS_RoleMenuIBLL CreateRoleMenu()
        {
            return new BPMS_RoleMenuBLL();
        }
        /// <summary>
        /// 创建系统角色菜单按钮关系
        /// </summary>
        /// <returns></returns>
        public virtual BPMS_RoleMenuButtonIBLL CreateRoleMenuButton()
        {
            return new BPMS_RoleMenuButtonBLL();
        }
        /// <summary>
        /// 创建系统角色
        /// </summary>
        /// <returns></returns>
        public virtual BPMS_RolesIBLL CreateRoles()
        {
            return new BPMS_RolesBLL();
        }
        /// <summary>
        /// 创建首页快捷功能
        /// </summary>
        /// <returns></returns>
        public virtual BPMS_ShortcutIBLL CreateShortcut()
        {
            return new BPMS_ShortcutBLL();
        }
        /// <summary>
        /// 创建系统日志
        /// </summary>
        /// <returns></returns>
        public virtual BPMS_SysLogIBLL CreateSysLog()
        {
            return new BPMS_SysLogBLL();
        }
        /// <summary>
        /// 创建模块（菜单导航）
        /// </summary>
        /// <returns></returns>
        public virtual BPMS_SysMenuIBLL CreateSysMenu()
        {
            return new BPMS_SysMenuBLL();
        }
        /// <summary>
        /// 创建菜单导航操作按钮关系表
        /// </summary>
        /// <returns></returns>
        public virtual BPMS_SysMenuButtonIBLL CreateSysMenuButton()
        {
            return new BPMS_SysMenuButtonBLL();
        }
        /// <summary>
        /// 创建模块列表表头定义
        /// </summary>
        /// <returns></returns>
        public virtual BPMS_TableColumnsIBLL CreateTableColumns()
        {
            return new BPMS_TableColumnsBLL();
        }
        /// <summary>
        /// 创建用户、帐户
        /// </summary>
        /// <returns></returns>
        public virtual BPMS_UserIBLL CreateUser()
        {
            return new BPMS_UserBLL();
        }
        /// <summary>
        /// 创建用户菜单关系
        /// </summary>
        /// <returns></returns>
        public virtual BPMS_UserMenuIBLL CreateUserMenu()
        {
            return new BPMS_UserMenuBLL();
        }
        /// <summary>
        /// 创建用户菜单按钮关系
        /// </summary>
        /// <returns></returns>
        public virtual BPMS_UserMenuButtonIBLL CreateUserMenuButton()
        {
            return new BPMS_UserMenuButtonBLL();
        }
        /// <summary>
        /// 创建用户帐户角色关系
        /// </summary>
        /// <returns></returns>
        public virtual BPMS_UserRoleIBLL CreateUserRole()
        {
            return new BPMS_UserRoleBLL();
        }
    }
}
